DEFAULT_FILE_STORAGE = 'django_oss_storage.backends.OssMediaStorage'
OSS_ENDPOINT = "oss-cn-hangzhou.aliyuncs.com"
OSS_ACCESS_KEY_ID = "LTAI5tRBXECtwTAJe2oFmZ3b"  # AliCloud access key ID
OSS_ACCESS_KEY_SECRET = "Phhw3gptMxnheIpPCLkLEud3c5DUaI"  # AliCloud access key secret
OSS_BUCKET_NAME = 'akw-authority-system'  # The name of the bucket to store files in

# 腾讯云API接口配置
TENCENTCLOUD = {
    # 腾讯云访问秘钥ID
    "SecretId": "AKIDQdaGgpiLhma7MM5iAON5dx2sRjlX2FBq",
    # 腾讯云访问秘钥key
    "SecretKey": "SdYCagV2JK4XkhNlskNjoeCTTCgusYy7",
    # 验证码API配置
    "Captcha": {
        "endpoint": "captcha.tencentcloudapi.com",  # 验证码校验服务端域名
        "CaptchaType": 9,  # 验证码类型，固定为9
        "CaptchaAppId": 2040204017,  # 验证码应用ID
        "AppSecretKey": "AppSecretKey:0EzJz2Qw8iD6BFZ3o-nDgNw**",  # 验证码应用key
    }
}

# 容联云短信
RONGLIANYUN = {
    "accId": '8aaf070877807ed8017790e2d4c10293',
    "accToken": 'd01c47639cb44ae8a79bac7739fc8ff1',
    "appId": '8aaf070877807ed8017790e2d5ef0299',
    "tid": 1,  # 注册短信验证码的模板ID
    "sms_expire": 300,  # 短信有效期，单位：秒(s)
    "sms_interval": 60,  # 短信发送的冷却时间，单位：秒(s)
}
